window.onload = function() {
    const app = new Vue({
        el: '#login-register-box',
        data() {
            return {
                specific_type: 'password',
                cover_picture: '../../asset/images/right.png',
                level_change: 'left: 50%',
                level_animation: ''
            };
        },
        methods: {
            left: function() {
                this.cover_picture = '../../asset/images/left.png'
                this.level_animation = 'left_animation'
                this.level_change ="left: 0%"
                
            },
            right: function() {
                this.cover_picture = '../../asset/images/right.png'
                this.level_animation = 'right_animation'
                this.level_change="left: 50%"
            },
        },
    })
}